import { http as axios } from './request'

export interface SitePageProps {
	current: number
	lat: number //纬度
	lng: number//经度
	regionId?: string //区id
	schoolId: string //驾校id
	size?:number
}

//报名页训练场分页列表(驾校品牌)
export const trainSiteList = (params: SitePageProps) => {
	return axios({
		method: 'GET',
		url: '/api/system/trainSite/page/list',
		params
	})
}
